bunzip: work around gcc13 warning
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Mar 2023 12:47:11 +0000 (13:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Mar 2023 12:47:11 +0000 (13:47 +0100)
commit7082d656ae9bcd26392caf72e50e0f7a61c8f285
treed35d8b372262537a51b68bb6fec132e35fbe2711
parentf971f5c531ce6a5fd6c1ff1f525f2c6837eeb78d
bunzip: work around gcc13 warning

While provable that length[0] is always initialized (because symCount
cannot be zero), upcoming gcc13 fails to recognize this and warns about
the unconditional use of the value immediately following the loop.

See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106511.

Reported-by: Martin Liška <martin.liska@suse.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 402195e56de0aacf97e05c80ed367d464ca6938b
master date: 2023-03-14 10:45:28 +0100
xen/common/bunzip2.c